/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package risk.game.entity.map;

import javax.swing.ImageIcon;
import javax.swing.text.Position;

import risk.game.entity.EntityConstants;
import risk.game.entity.player.Player;

public abstract class Region implements EntityConstants{

    protected int id;
    private int regionType;
    private String name;
    private ImageIcon image; // without UI should be null
    private Position position; //TBD
    private Player owner;

    public Region (int regionType){
    	this.regionType = regionType;
    }
    public Region (int regionType,String name,ImageIcon image,Player owner){
    	this(regionType);
    	this.name = name;
    	this.image = image;
    	this.owner = owner;
    }
    

    public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public ImageIcon getImage() {
		return image;
	}
	public void setImage(ImageIcon image) {
		this.image = image;
	}
	public Position getPosition() {
		return position;
	}
	public void setPosition(Position position) {
		this.position = position;
	}
	public Player getOwner() {
		return owner;
	}
	public void setOwner(Player owner) {
		this.owner = owner;
	}
	public int getRegionType() {
		return regionType;
	}
	public void setRegionType(int regionType) {
		this.regionType = regionType;
	}
    
}
